local mibei_foresight = fk.CreateSkill{
    name = "ym1__mibei_foresight_skill",
}
Fk:loadTranslationTable{
    ["ym1__mibei_foresight_skill"] = "洞烛先机",
}
mibei_foresight:addEffect("cardskill", {
    mute = true,
    prompt = "#foresight_skill",
    mod_target_filter = Util.TrueFunc,
    can_use = Util.CanUseToSelf,
    on_effect = function(self, room, effect)
        if effect.to.dead then return end
        local cards = room:askToCards(effect.to,{
            max_num = 2,
            min_num = 2,
            include_equip = false,
            skill_name = mibei_foresight.name,
            cancelable = false,
            pattern = ".",
            prompt = "#ym1__mibei-choose"
        })
        if #cards > 0 then
            room:moveCardTo(cards, Card.DrawPile, nil, fk.ReasonPut, self.name, nil, false)
            room:askToGuanxing(effect.to, { cards = cards })
        end
        room:drawCards(effect.to, 2, mibei_foresight.name)
    end,
})

return mibei_foresight